﻿using System;
using System.Runtime.Serialization;

namespace Mockery.Core
{
    /// <summary>
    /// Exception raised when more than one container builder is found at runtime
    /// </summary>
    [Serializable]
    public class TooManyContainerBuildersFound : Exception
    {
        public TooManyContainerBuildersFound(string message, Exception innerException)
            : base(message, innerException)
        { }

        public TooManyContainerBuildersFound(string message)
            : base(message)
        { }

        public TooManyContainerBuildersFound()
        { }

        protected TooManyContainerBuildersFound(SerializationInfo serializationInfo, StreamingContext streamingContext)
            : base(serializationInfo, streamingContext)
        { }

    }
}
